package cn.jinjie.day07;

import java.util.Collections;
import java.util.TreeSet;

public class Test04 {
    public static void main(String[] args) {
        TreeSet<String> s = new TreeSet<>();
        Collections.addAll(s, "aaa", "bbb", " aaa", " abc", " xyz", " 123", " xyz");
        System.out.println(s);

    }
}
